<?
require("config.php");
$to =$To;
$to_email =$ToEmail;
$from_name =$From;
$from_email =$FromEmail;

$subject = $lang['email_subject'];


$url = $DIR_URL . $p . ".php?id=$id";


$content=$lang['email_content'];

sendhtmlmail($from_name,$from_email,$to_name,$to_email,$subject,$content);


?>




<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?=$charset?>">
<title><?=$title?></title>
<link href="images/css.css" rel="stylesheet" type="text/css">
<body bgcolor="7DA7D9">


<table width="500" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td>
	
	
	<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr> 
          <td width="13"><img src="images/c1.gif" width="13" height="37"></td>
          <td background="images/c5.gif" class="boxTitle"><?=$lang['email_to_friend']?> </td>
          <td width="13"><img src="images/c2.gif" width="13" height="37"></td>
        </tr>
      </table>
	  
	  </td>
  </tr>
  <tr> 
    <td bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td width="2" bgcolor="B1CAE8"><img src="images/shim.gif" width="2" height="1"></td>
          <td align="center"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td bgcolor="F78D83"><img src="images/shim.gif" width="1" height="2"></td>
              </tr>
            </table>
            <p><?=$lang['email_sent']?></p>
            <p>&nbsp;</p>
            <p> 
              <input name="button" type="button" class="button" onClick="top.close()" value="close">
            </p>
            <p><br>
              <br>
            </p></td>
          <td width="2" bgcolor="B1CAE8"><img src="images/shim.gif" width="2" height="1"></td>
        </tr>
      </table>
      
    </td>
  </tr>
  <tr> 
    <td>
	
	<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr> 
          <td width="6"><img src="images/c3.gif" width="6" height="6"></td>
          <td background="images/c7.gif"><img src="images/c7.gif" width="6" height="6"></td>
          <td width="6"><img src="images/c4.gif" width="6" height="6"></td>
        </tr>
      </table>
	  
	  
	  </td>
  </tr>
</table>

</body>
</html>